aboutsummaryrefslogtreecommitdiffstats
path: root/main.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [w3m-dev 03758] Re: SVR4 signal behaviorFumitoshi UKAI2003-02-181-20/+20
| | | | | | | | | | | | | | | | | | | | | | | * etc.c (reset_signals): use mySignal() (setup_child): ditto (myExec): ditto (mySignal): added, use sigaction if available * fm.h (TRAP_ON): use mySignal (TRAP_OFF): ditto * istream.c (ISclose): ditto * main.c (sig_chld): ditto (main): ditto (do_dump): ditto (resize_hook): ditto (resize_handler): ditto (srchcore): ditto (readsh): ditto (SigAlarm): ditto * proto.h (mySignal): added * terms.c (error_dump): use mySignal() (set_int): ditto (mouse_init): ditto From: Atsushi YOKOYAMA <yoko-a@cmh.fuchu.toshiba.co.jp>
* fix indentFumitoshi UKAI2003-02-051-3/+3
|
* [w3m-dev 03730] display decoded URLFumitoshi UKAI2003-02-051-17/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * anchor.c (link_list_panel): support DecodeURL * display.c (make_lastline_link): support DecodeURL * etc.c (url_unquote_conv): added * fm.h (DecodeURL): added * history.c (historyBuffer): support DecodeURL * indep.c (QUOTE_MAP): added (HTML_QUOTE_MAP): added (html_quote_char): deleted (url_quote): use is_url_quote (file_quote): use is_file_quote (is_url_safe): deleted (Str_form_quote): use is_url_unsafe (Str_url_unquote): add safe args (is_shell_safe): delete (shell_quote): use is_shell_unsafe * indep.h (QUOTE_MAP): added (HTML_QUOTE_MAP): added (HTML_QUOTE_MASK): added (SHELL_UNSAFE_MASK): added (URL_QUOTE_MASK): added (FILE_QUOTE_MASK): added (URL_UNSAFE_MASK): added (GET_QUOTE_TYPE): added (is_html_quote): added (is_shell_unsafe): added (is_url_quote): added (is_file_quote): added (is_url_unsafe): added (html_quote_char): added (html_quote_char): deleted (Str_url_unquote): added safe (form_unquote): Str_url_unquote changes * linein.c (_prev): support DecodeURL (_next): ditto * main.c (goURL0): support DecodeURL (_peekURL): ditto (curURL): ditto * map.c (follow_map_panel): support DecodeURL (append_map_info): ditto (append_link_info): ditto (append_frame_info): ditto (page_info_panel): ditto * menu.c (initSelectMenu): delete SCM_LOCAL_CGI support DecodeURL (initSelTabMenu): delete SCM_LOCAL_CGI support DecodeURL (link_menu): support DecodeURL * parsetagx.c (parse_tag): is_html_quote * proto.h (url_unquote_conv): added * rc.c (CMT_DECODE_URL): added (params1): add decode_url * url.c (openURL): Str_url_unquote non safe From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03720] mark remainsFumitoshi UKAI2003-01-311-3/+7
| | | | | * main.c (srchcore): PREC_NUM From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03717] print newline before exec shell command.Fumitoshi UKAI2003-01-301-1/+2
| | | | | * main.c (execsh): print newline From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* fix indentFumitoshi UKAI2003-01-301-3/+2
|
* [w3m-dev 03712] buf fix of LINE_INFOFumitoshi UKAI2003-01-301-12/+11
| | | | | * main.c (curlno): rewrite From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03709] Re: view source, edit sourceFumitoshi UKAI2003-01-291-2/+2
| | | | | | | | | | * display.c (displayBuffer): INIT_BUFFER_WIDTH * file.c (_saveBuffer): added (saveBuffer): use _saveBuffer (saveBufferBody): added * main.c (vmSrc): saveBufferBody * proto.h (saveBufferBody): added From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03708] Re: Don't stop loading image when moving to next page.Fumitoshi UKAI2003-01-291-10/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config.h.dist (lstat): define ifndef HAVE_LSTAT * configure (config.h) ditto * display.c (fmTerm): new loadImage (save_current_buf): only ifdef USE_BUFINFO (displayBuffer): new loadImage * etc.c (setup_child): TrapSignal * file.c (loadGeneralFile): TRAP_OFF, TRAP_ON (loadHTMLstream): ditto (loadGopherDir): ditto (loadBuffer): ditto (loadImageBuffer): ditto (getNextPage): ditto (save2tmp): ditto * fm.h (TrapSignal): added (TRAP_ON): added (TRAP_OFF): added * form.c (HAVE_LSTAT): deleted * frame.c (createFrameFile): TRAP_OFF, TRAP_ON * image.c (image_buffer): added (deleteImage): new loadImage (getAllImage): initialize image_buffer (loadImage): rewrite * main.c (main): new loadImage (checkDownloadList): remove ifdef HAVE_LSTAT * news.c (loadNwesgroup): TRAP_ON, TRAP_OFF * proto.h (loadImage): add buf arg * url.c (openSocket): TRAP_ON, TRAP_OFF (check_no_proxy): TRAP_ON, TRAP_OFF From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03700] Re: google.cgi (was: Re: keymap key SEARCH string)Fumitoshi UKAI2003-01-281-2/+2
| | | | | * main.c (goURL0): check relative or *url == '#' From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03689] Re: fold patchFumitoshi UKAI2003-01-271-1/+3
| | | | | | | * fm.h (BufferPos): add bpos * main.c (save_buffer_position): bpos initialize (resetPos): reset bpos From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03686] Re: fold patchFumitoshi UKAI2003-01-251-6/+6
| | | | | | | | | | | | | | | | * buffer.c (writeBufferCache): rewrite (readBufferCache): rewrite * etc.c (calcPosition): short -> int realColumn * fm.h (Line): short -> int len,width,size,bpos,bwidth (BufferPoint): short->int pos (Buffer): short->int currentColumn,pos,visualpos (BufferPos): short->int currentColumn,pos * frame.h (frameset_queue): short->int pos,currentColumn * main.c (clear_mark): short->int pos (dispincsrch): short->int pos (backBf): short->int pos (set_buffer_environ): short->int prev_pos From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* fix indentFumitoshi UKAI2003-01-231-2/+3
|
* [w3m-dev 03667] fold patchFumitoshi UKAI2003-01-231-33/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* [w3m-dev 03677] view source, edit sourceFumitoshi UKAI2003-01-221-83/+18
| | | | | | | | | | * 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>
* [w3m-dev 03674] -dump problemFumitoshi UKAI2003-01-221-18/+30
| | | | | | | | | | * 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>
* [w3m-dev 03647] expandName() and expandPath()Fumitoshi UKAI2003-01-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* [w3m-dev 03644] Re: Other user can see local cookie.Fumitoshi UKAI2003-01-151-32/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-151-2/+2
| | | | | | * ftp.c (loadFTPDir): ditto * fix indent From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03640] Re: cleanup (don't close connection of news server)Fumitoshi UKAI2003-01-151-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 03636] segfault in main.cFumitoshi UKAI2003-01-111-2/+3
| | | | | * main.c (main): check newbuf->currentURL.file From: qhwt@myrealbox.com
* [w3m-dev 03633] Re: cleanup (don't close connection of news server)Fumitoshi UKAI2003-01-111-1/+2
| | | | | | | | | | | | | | | | | | | * 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>
* [w3m-dev 03629] delete tmp fileFumitoshi UKAI2003-01-101-4/+4
| | | | | | | | | | | | | | | | | | | | | | | * 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 03625] keymap key SEARCH stringFumitoshi UKAI2003-01-101-11/+20
| | | | | | | * main.c (srch): accept command argument (reMark): accept command argument * Bonus/google.cgi: added From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03620] -m option and headerFumitoshi UKAI2003-01-101-2/+9
| | | | | | | | | | | | | | * 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-091-1/+6
| | | | | | | | | | | | | | | | * 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 03616] Re: data: URL schemeFumitoshi UKAI2003-01-081-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* [w3m-dev 03610] Re: news:<newsgroup>Fumitoshi UKAI2003-01-061-7/+2
| | | | | | | | | | | | | | | | | | | | | * 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>
* [w3m-dev 03608] news:<newsgroup>Fumitoshi UKAI2002-12-271-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 03606] Re: clean up displayBuffer()Fumitoshi UKAI2002-12-271-3/+3
| | | | | | * main.c (followA): B_FORCE_REDRAW (follow_map): ditto From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03601] Re: meta refreshFumitoshi UKAI2002-12-251-2/+4
| | | | | | * main.c (LastEvent): added (pushEvent): add to LastEvent From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03600] Re: meta refreshFumitoshi UKAI2002-12-251-5/+5
| | | | | * 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-241-17/+18
| | | | | | * 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-241-20/+33
| | | | | | | | | | | | | * 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>
* [w3m-dev 03595] tolower, toupperFumitoshi UKAI2002-12-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* [w3m-dev 03582] add config options graphic_char and use_proxyFumitoshi UKAI2002-12-181-3/+3
| | | | | | | | | | | | | | | * 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-181-2/+2
| | | | | * main.c (chkWORD): accept ()[]{}&|;*?$ as anchor From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03580] Re: clean up displayBuffer()Fumitoshi UKAI2002-12-181-2/+2
| | | | | * main.c (main): force redraw From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03579] Re: clean up displayBuffer()Fumitoshi UKAI2002-12-181-3/+3
| | | | | | | | * 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-181-4/+4
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03578] meta refreshFumitoshi UKAI2002-12-181-80/+52
| | | | | | | | | | | | | | | | | | | | | | | | | * 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 03576] Re: news supportFumitoshi UKAI2002-12-161-2/+2
| | | | | | | * 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>
* [w3m-dev 03564] clean up displayBuffer()Fumitoshi UKAI2002-12-131-126/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * display.c (delayed_msg): static (drawAnchorCursor): static (redrawBuffer): define (redrawNLine): static (redrawLine): static (redrawLineRegion): static (do_effects): static (do_color): static (make_lastline_link): added (make_lastline_message): added (displayBuffer): rewrite with make_lastline_message() (drawAnchorCursor0): added (drawAnchorCursor): added * main.c (main): remove onA() (keyPressEventProc): remove onA() (disp_srchresult): static disp_message TRUE (isrch): remove onA() (srch): displayBuffer remove onA() (srch_nxtprv): remove onA() (pipeBuf): disp_message TRUE (pipesh): disp_message TRUE (readsh): disp_message TRUE (_mark): dispBuffer (_followForm): break, always dispBuffer (drawAnchorCursor0): deleted (drawAnchorCursor): deleted (onA): deleted (anchorMn): delete onA() (svBuf): displayBuffer B_NORMAL (reload): disp_err_message TRUE displayBuffer (rFrame): displayBuffer (invoke_browser): displayBuffer (extbrz): disp_err_message TRUE (process_mouse): onA -> displayBuffer (movMs): delete onA() (menuMs): onA -> displayBuffer (closeTMs): disp_message TRUE (wrapToggle): disp_message TRUE (execdict): disp_message TRUE (SigAlarm): displayBuffer, delete onA (reinit): displayBuffer * map.c (getCurrentMapLabel): deleted (retrieveCurrentMapArea): added * proto.h (redrawBuffer): deleted (redrawNLine): deleted (redrawLine): deleted (redrawLineRegion): deleted (do_effects): deleted (do_color): deleted (message_list): deleted (getCurrentMapLabel): deleted (retrieveCurrentMapArea): added From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03562] #undef BUFINFOFumitoshi UKAI2002-12-121-1/+3
| | | | | | | | | * config.h.dist (BUFINFO): undef * configure (use_bufinfo): n * main.c (saveBufferInfo): ifdef USE_BUFINFO * proto.h (reloadBuffer): if 0 (saveBufferInfo): ifdef USE_BUFINFO From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03559] Re: use select instead of signal for loading imagesFumitoshi UKAI2002-12-111-7/+7
| | | | | | | | | | | | | | | | * fm.h (Buffer): add image_loaded * image.c (W3M_SIGIMG): deleted (image_lock): deleted (need_load_image): deleted (load_image_handler): deleted (load_image_next): deleted (getAllImage): check image_loaded (loadImage): delete image_lock delete IMG_FLAG_NEXT * main.c (main): check image_loaded * proto.h (sleep_till_anykey): return int * terms.c (sleep_till_anykey): return int From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* fix indentFumitoshi UKAI2002-12-101-5/+4
|
* [w3m-dev 03553] Undo/RedoFumitoshi UKAI2002-12-101-1/+72
| | | | | | | | | | | | | | | * fm.h (Buffer): add undo (BufferPos): added * funcname.tab (REDO): added (UNDO): added * main.c (save_buffer_position): added (main): save_buffer_position (resetPos): added (undoPos): added (redoPos): added * proto.h (undoPos): added (redoPos): added From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* fix indentFumitoshi UKAI2002-12-101-3/+3
|
* [w3m-dev 03549] link listFumitoshi UKAI2002-12-091-7/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * anchor.c (addMultirowsImg): add a->slave (getAnchorText): arg AnchorList *al (link_list_panel): added * funcname.tab (LIST): added (LIST_MENU): added (MOVE_LIST_MENU): added * main.c (anchorMn): added (accessKey): use anchorMn() (listMn): added (movlistMn): added (linkLst): added * map.c (searchMapList): not static * menu.c (accesskey_menu): pass AnchorList to getAnchorText() (lmKeys): added (lmKeys2): added (nlmKeys): added (nlmKeys2): added (lmGoto): added (lmSelect): added (list_menu): added * proto.h (linkLst): added (listMn): added (movlistMn): added (list_menu): added (searchMapList): added (getAnchorText): arg AnchorList *al (link_list_panel): added * doc/README.func (LIST): added (LIST_MENU): added (MOVE_LIST_MENU): added * doc-jp/README.func (LINK_MENU): fix message (LIST): added (LIST_MENU): added (MOVE_LIST_MENU): added * scripts/w3mhelp.cgi.in (Page/Cursor motion): add movlistMn (Hyperlink operation): add linkLst linkMn From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* * file.c (loadGeneralFile): missing `{', fix indent for SCM_UNKNOWNFumitoshi UKAI2002-12-091-4/+5
| | | | | * main.c (set_buffer_environ): unused variables `prev_col' From: Fumitoshi UKAI <ukai@debian.or.jp>