aboutsummaryrefslogtreecommitdiffstats
path: root/main.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [w3m-dev 04049] w3m-cvs-1.914-misc.patchFumitoshi UKAI2004-04-041-1/+2
| | | | | | | | | | | | | | | * Makefile.in (funcname.tab): dont modify when target is unchanged. (CFLAGS): need $(CPPFLAGS)? * config.h.in: add HAVE_STDINT_H, HAVE_INTTYPES_H * configure.in: s/AC_CANONICAL_SYSTEM/AC_CANONICAL_HOST/ don't use AC_CYGWIN don't use $CYGWIN, use $host_os *cygwin* AC_DEFINE in AC_CHECK_HEADER (float.h, sys/select.h) add stdint.h, inttypes.h * etc.c (find_auth_pass_entry): host is case insensitive * libwc/wc_types.h: use stdint.h or inttypes.h * main.c (MAIN); need GC_init() From: AIDA Shinra <shinra@j10n.org>
* fix search problem on different charset page than display charsetFumitoshi UKAI2004-03-231-13/+3
| | | | | | | | | | | | * proto.h (conv_search_string): added * search.c (migemostr): use conv_search_string (conv_search_string): added * main.c (srchcore): use conv_search_string (reMark): ditto * menu.c (menu_search_forward): ditto (menu_search_backward): ditto (menu_search_next_previous): ditto From: Fumitoshi UKAI <ukai@debian.or.jp>
* * main.c (main): DisplayCharset also follow localeFumitoshi UKAI2004-03-221-2/+4
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* * main.c (main): don't use SystemCharset for default ofFumitoshi UKAI2004-03-221-3/+6
| | | | | DisplayChaset, DocumentCharset From: Fumitoshi UKAI <ukai@debian.or.jp>
* * main.c (main): DisplayCharset and DocumentCharset also followFumitoshi UKAI2004-03-211-2/+2
| | | | | locale configuration From: Fumitoshi UKAI <ukai@debian.or.jp>
* fix indentFumitoshi UKAI2003-09-261-13/+24
|
* * funcname.tab: generated from DEFUNFumitoshi UKAI2003-09-261-271/+139
| | | | * main.c menu.c: use DEFUN
* add commentsFumitoshi UKAI2003-09-261-4/+55
|
* update commentFumitoshi UKAI2003-09-251-5/+3
|
* fix indentFumitoshi UKAI2003-09-241-9/+12
|
* gettextize initial modificationsFumitoshi UKAI2003-09-231-1/+10
|
* merge m17n patchFumitoshi UKAI2003-09-221-116/+264
| | | | add libwc
* [w3m-dev 03967] Re: IPv4/IPv6 only option patchFumitoshi UKAI2003-09-221-1/+9
| | | | | | | | | | | | * NEWS: options: -4, -6 * fm.h (DNS_ORDER_INET_ONLY): added (DNS_ORDER_INET6_ONLY): added (ai_family_order_table): [3]->[7] * main.c (fusage): add -4/-6 (main): -4/-6 mapped to dns_order=4/dns_order=6 * rc.c (dnsorders): add DNS_ORDER_INET_ONLY, DNS_ORDER_INET6_ONLY * url.c (dnsorders): add 3-6 From: Fumitoshi UKAI <ukai@debian.or.jp>
* fix indentFumitoshi UKAI2003-07-221-41/+41
|
* [w3m-dev 03941] fix character encoding for 'v'Fumitoshi UKAI2003-07-221-1/+11
| | | | | * main.c (vwSrc): use document_code as DisplayCode From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03939] next/prev visited linkFumitoshi UKAI2003-07-221-7/+85
| | | | | | | | | | | | | | | | | * funcname.tab (NEXT_VISITED): added (PREV_VISITED): added * main.c (_nextA): added (_prevA): added (nextVA): added (prevVA): added * proto.h (nextVA): added (prevVA): added * doc/README.func (NEXT_VISITED): added (PREV_VISITED): added * doc-jp/README.func (NEXT_VISITED): added (PREV_VISITED): added * NEWS: func: NEXT_VISITED, PREV_VISITED From: Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp>
* fix indentFumitoshi UKAI2003-05-121-5/+5
|
* [w3m-dev 03889] Progress bar in Download List PanelFumitoshi UKAI2003-05-061-2/+2
| | | | | * main.c (DownloadListBuffer): calculation in double From: Hiroyuki Ito <hito@crl.go.jp>
* [w3m-dev 03887] Re: I-search problemFumitoshi UKAI2003-05-021-2/+6
| | | | | * main.c (dispincsrch): don't move cursor if not found. From: Hiroyuki Ito <hito@crl.go.jp>
* [w3m-dev 03878] I-search problemFumitoshi UKAI2003-04-141-9/+1
| | | | | | * linein.c (inputLineHistSearch): don't call incrfunc twice * main.c (dispincsrch): fix search loop problem From: Masanori Kobayasi <zap03216@nifty.ne.jp>
* [w3m] local cookie string is too easy to guess.Fumitoshi UKAI2003-04-081-5/+2
| | | | | | | | | | | | | | * fm.h (Local_cookie): deleted * local.c (Local_cookie): static (writeLocalCookie): localCookie() (setLocalCookie): deleted (localCookie): added * main.c (main): delete srand48(), setLocalCookie() (adBmark): s/Local_cookie/localCookie()/ * proto.h (setLocalCookie): deleted (localCookie): added * rc.c (load_option_panel): s/Local_cookie/localCookie()/ From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03846] fix use_historyFumitoshi UKAI2003-04-071-5/+5
| | | | | * main.c (main): move loadHistory From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03843] cleanup macrosFumitoshi UKAI2003-04-061-13/+4
| | | | | | | | | | | | | * config.h.dist config.h.in etc.c file.c fm.h ftp.c linein.c main.c rc.c: delete EMACS_LIKE_LINEEDIT, VI_PREC_NUM, LABEL_TOPLINE, NEXTPAGE_TOPLINE, FTPPASS_HOSTNAMEGEN use_mark default FALSE emacs_like_lineedit default FALSE vi_prec_num default FALSE add UseHistory, use_history * NEWS: rc: use_history From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03828] possible typo in nextAFumitoshi UKAI2003-03-231-2/+2
| | | | | * main.c (nextA): fix typo? From: Daiki Ueno <ueno@unixuser.org>
* [w3m-dev 03794] displayBuffer() when CurrentTab == NULL.Fumitoshi UKAI2003-03-061-2/+2
| | | | | | | | | * display.c (displayBuffer): check buf * linein.c (inputLineHistSearch): check CurrentTab (next_dcompl): check CurrentTab (_editor): check CurrentTab * main.c (resize_screen): check CurrentTab From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03793] incremental search fixFumitoshi UKAI2003-03-051-2/+13
| | | | | | | | | | | main.c (dispincsrch): revert sbuf.pos fix start from next position in next forward search (srch): start from next position in forward saerch if not found, restore original position (srch_nxtprv): start from next position in next forward search * search.c (forwardSearch): search from current position (dispincsrch): start from current position in case of From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03792] URL match stringFumitoshi UKAI2003-03-051-2/+3
| | | | | | | | | | incremental search fix * main.c (chkURLBuffer): allow - at end of URL string (dispincsrch): start from current position in case of incremental search * search.c (forwardSearch): found if same position (backwardSearch): ditto From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03783] pipe to "command1 | command2"Fumitoshi UKAI2003-02-261-6/+11
| | | | | | | * etc.c (myExtCommand): redirect to subshell * main.c (pipeBuf): conv_to_system(cmd) shell_quote() set buf->filename, buf->buffername
* fix indentFumitoshi UKAI2003-02-251-3/+2
|
* [w3m-dev 03782] real linenumber for EDIT and EDIT_SCREENFumitoshi UKAI2003-02-251-3/+22
| | | | | | | * main.c (cur_real_linenumber): added (editBf): use cur_real_linenumber instead of CUR_LINENUMBER (editScr): ditto From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03781] Debian Bug report logs - #181897: w3m submits query urls ↵Fumitoshi UKAI2003-02-251-1/+3
| | | | | | | with "extra" * main.c (_followForm): remove tailling '?' From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [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>