aboutsummaryrefslogtreecommitdiffstats
path: root/search.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2002-12-18[w3m-dev 03579] Re: clean up displayBuffer()Fumitoshi UKAI1-6/+12
* 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>
2002-11-24[w3m-dev 03471] Re: SETPGRP()Fumitoshi UKAI1-11/+3
* configure: SETPGRP() always defined * proto.h (close_all_fds): added (myExec): #ifdef HAVE_SETPGRP * etc.c (close_all_fds): added (myExec): #ifdef HAVE_SETPGRP (mySystem): #ifndef -> #ifdef * file.c (_doFileCopy): delete #ifdef HAVE_SETPGRP (doFileSave): ditto * image.c (openImgdisplay): delete #ifdef HAVE_SETPGRP use close_all_fds() * search.c (open_migemo): ditto From: Fumitoshi UKAI <ukai@debian.or.jp>
2002-11-06fix indentFumitoshi UKAI1-2/+2
2002-11-06[w3m-dev 03379] setuid w3mimgdisplay and check console ttyFumitoshi UKAI1-2/+9
* XMakefile: w3mimgdisplay install by INSTALL_W3MIMGDISPLAY * configure: ask setuid w3mimgdisplay (w3mimgdisplay_setuid): added (INSTALL_W3MIMGDISPLAY): added * etc.c (mySystem): close until FOPEN_MAX * image.c (openImgdisplay): setenv W3M_TTY stderr to /dev/null close until FOPEN_MAX * install-sh: -o, -g for owner, group * proto.h (ttyname_tty): added * search.c (open_migemo): stderr to /dev/null close until FOPEN_MAX * terms.c (ttyname_tty): added * w3mimgdisplay.c: include <sys/types.h>, <unistd.h> W3MIMGDISPLAY_SETUID stderr to /dev/null * w3mimg/w3mimg.c: include <sys/types.h>, <unistd.h> W3MIMGDISPLAY_SETUID * w3mimg/fb/fb_w3mimg.c (check_tty_console): added From: Fumitoshi UKAI <ukai@debian.or.jp>
2002-03-06* version.c.in: 0.3+cvsFumitoshi UKAI1-2/+2
From: Fumitoshi UKAI <ukai@debian.or.jp>
2002-01-31[w3m-dev 02946] toggle migemoFumitoshi UKAI1-7/+7
* fm.h (migemo_active): added * proto.h (inputLineHistSearch): add arg `prop' to incrfunc() * linein.c (inputLineHistSearch): ditto * main.c (isrch): ditto * main.c (dispincsrch): ditto C-\ toggle migemo underline when migemo is active * search.c (migemo_active): deleted * search.c (migemo_running): added * search.c (init_migemo): migemo_running * search.c (migemostr): ditto * search.c (forwardSearch): migemo_active > 0 * search.c (backwardSearch): ditto From: Fumitoshi UKAI <ukai@debian.or.jp>
2002-01-21[w3m-dev 02879] reset signalsFumitoshi UKAI1-6/+3
* etc.c (reset_signals): added * etc.c (mySystem): use reset_signals() * file.c (uncompress_stream): use reset_signals() * proto.h (reset_signals): added * search.c (init_migemo): kill by SIGKILL * search.c (open_migemo): use reset_signals() From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2002-01-17[w3m-dev 02871] ignore SIGCHLD (for at least EWS4800)Fumitoshi UKAI1-1/+4
* search.c (open_migemo): signal(SIGCHLD, SIG_IGN); From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2002-01-17[w3m-dev 02870] don't kill migemo by SIGINTFumitoshi UKAI1-9/+19
* main.c (w3m_exit): init_migemo() to kill migemo * search.c: #include <unistd.h> * search.c (migemo_active): added * search.c (migemo_pid): added * search.c (init_migemo): migemo_active = use_migemo * search.c (init_migemo): kill migemo_pid * search.c (open_migemo): s/pid/migemo_pid/ * search.c (open_migemo): setpgrp() * search.c (open_migemo): s/use_migemo/migemo_active/ * search.c (migemostr): ditto * search.c (forwardSearch): ditto * search.c (backwardSearch): ditto From: Fumitoshi UKAI <ukai@debian.or.jp>
2002-01-17[w3m-dev 02866]Fumitoshi UKAI1-2/+5
* search.c: #include <signal.h> * search.c (open_migemo): ignore SIG_INT for migemo process * search.c (open_migemo): close_tty() * search.c (open_migemo): use execl() instead of system() From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2002-01-17[w3m-dev 02865]Fumitoshi UKAI1-1/+2
* search.c (open_migemo): add flush_tty() From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2002-01-16[w3m-dev 02863] discard migemo error messageFumitoshi UKAI1-1/+2
* search.c (open_migemo): close stderr From: Fumitoshi UKAI <ukai@debian.or.jp>
2002-01-16run make indentFumitoshi UKAI1-10/+12
2002-01-16[w3m-dev 02862] SIGPIPE for migemo supportFumitoshi UKAI1-2/+16
* main.c (SigPipe): added * main.c (MAIN): signal(SIGPIPE, ) * search.c: #include <errno.h> * search.c (migemostr): check fflush() error * search.c (migemostr): check result string (empty is err) * search.c (migemostr): if error occured, disable use_migemo From: Fumitoshi UKAI <ukai@debian.or.jp>
2002-01-16[w3m-dev 02859]Fumitoshi UKAI1-1/+90
* config.h.dist (DEF_MIGEMO_COMMAND): added * configure (DEF_MIGEMO_COMMAND): added * fm.h (migemo_command): initial value is DEF_MIGEMO_COMMAND * main.c (migemostr): remove here, move search.c * main.c (srchcore): dont migemostr() here * proto.h (init_migemo): added * rc.c (sync_with_option): init_migemo() * search.c (init_migemo): added * search.c (open_migemo): added * search.c (migemostr): communicate background migemo * search.c (forwardSearch): if regexCompile for migemostr failed, try original str * search.c (backwardSearch): ditto From: Fumitoshi UKAI <ukai@debian.or.jp>
2002-01-16[w3m-dev 02854] highlight for incremental searchFumitoshi UKAI1-1/+12
* display.c (EFFECT_MARK_START): added * display.c (EFFECT_MARK_END): added * display.c (EFFECT_MARK_START_C): added * display.c (EFFECT_MARK_END_C): added * display.c (EFFECT_MARK_START_M): added * display.c (EFFECT_MARK_END_M): added * display.c: define_effect for MARK_{START,END} * display.c (mark_mode): added * display.c (redrawLine): if mark_mode * display.c (do_effects): do_effect2(PE_MARK, ...) * display.c (do_effects): do_effect1(PE_MARK, ...) * fm.h (P_EFFECT): changed to 0x01ff * fm.h (PE_MARK): moved * fm.h (mark_color): added * linein.c (inputLineHistSearch): incrfunc(int ch, Str str) * main.c (clear_mark): added * main.c (dispincsrch): remove arg `x', `y' * main.c (dispincsrch): move SAVE_BUFPOSITION() * main.c (srch): if (result & SR_FOUND) clear_mark() * main.c (cmd_mark): PE_MARK * main.c (nextMk): s/PM_MARK/PE_MARK/ * main.c (prevMk): s/PM_MARK/PE_MARK/ * proto.h (inputLineHistSearch): change prototype incfunc() * rc.c (CMT_MARK_COLOR): added * rc.c (params2): add "mark_color" * search.c (set_mark): added * search.c (forwardSearch): use set_mark() * search.c (backwardSearch): use set_mark() From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2002-01-11run make indentFumitoshi UKAI1-3/+2
2002-01-112002-01-11 Akinori Ito <aito@fw.ipsj.or.jp>Akinori Ito1-2/+3
* [w3m-dev 02819] * regex.c (RegexMatch): loop condition changed (from < to <= ) * regex.c (regmatch_iter): end condition changed (from >= to >) * search.c (forwardSearch): next search fix
2001-12-23[w3m-dev 02700] search refactoringFumitoshi UKAI1-15/+11
From: Fumitoshi UKAI <ukai@debian.or.jp>
2001-11-24run make indentFumitoshi UKAI1-5/+5
2001-11-20add rcsidsFumitoshi UKAI1-0/+1
2001-11-16[w3m-dev 02418]Fumitoshi UKAI1-0/+8
main.c: mailto: like pattern to mark as anchor search.c: check NULL add disp_message() by ukai