Commit Graph

2198 Commits

Author SHA1 Message Date
Fumitoshi UKAI
3072c1edf4 fix indent 2002-07-01 11:12:14 +00:00
Dai Sato
589cabdbdc add prec_num to topA/lastA 2002-07-01 10:50:53 +00:00
Fumitoshi UKAI
c29dce721f [w3m-dev 03233] "obuf->flag |= RB_IGNORE_P" after <body> tag
* file.c (HTMLtagproc1): no need RB_IGNORE_P after <body> tag
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2002-06-24 13:32:10 +00:00
Dai Sato
1affa8c259 [w3m-dev 03215] add "base_lib gc.a" for making GC 2002-06-18 05:16:24 +00:00
Dai Sato
4d6887b264 [w3m-dev 03215] add "base_lib gc.a" to make command for GC 2002-06-18 04:59:09 +00:00
Fumitoshi UKAI
5317691c2f [w3m-dev 03212] lstat() in form.c
* form.c: define lstat unless HAVE_LSTAT
	(form_write_from_file): always check lstat()
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2002-06-17 17:51:39 +00:00
Dai Sato
316b06fda4 [w3m-dev 03214] strtoul() -> strtol() for SunOS4 2002-06-17 15:50:45 +00:00
Fumitoshi UKAI
a81a104780 [w3m-dev-en 00752] Re: tab completion weirdness in w3m 0.3
* file.c (doFileCopy): same fix as [w3m-dev-en 00751]
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2002-06-09 16:11:33 +00:00
Fumitoshi UKAI
1756f4887e [w3m-dev-en 00751] Re: tab completion weirdness in w3m 0.3
* main.c (svBuf): unescape spaces when input is filename
* proto.h (unescape_spaces): added
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2002-06-09 16:09:24 +00:00
Fumitoshi UKAI
259d1f18be [w3m-dev 03207] strchr(), strcasecmp(), and strncasecmp()
* etc.c (strchr): removed
	(strcasecmp): removed
	(strncasecmp): removed
* indep.c (strchr): moved, cast
	(strcasecmp): moved, fix the case that s1 = ""
	(strncasecmp): moved, fix the case that s1 is shorter than s2
* indep.h (strchr): added
	(strcasecmp): added
	(strncasecmp): added
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2002-06-07 15:46:44 +00:00
Fumitoshi UKAI
51bd5e7bff [w3m-dev 03206] Re: dict
* main.c (execdict): quote word
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-06-05 15:42:10 +00:00
Fumitoshi UKAI
424d7d2ae7 [w3m-dev 03204] INET6
* main.c (fversion): s/USE_INET6/INET6/
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-06-05 15:29:37 +00:00
Fumitoshi UKAI
f4b88ba232 [w3m-dev 03203] dict
* main.c (execdict): fix loadGeneralFile()
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-06-05 15:27:47 +00:00
Fumitoshi UKAI
f4600d6238 main.c (reinit): initKeymap(TRUE) 2002-06-01 17:26:11 +00:00
Fumitoshi UKAI
0ea488da1c indent fix 2002-06-01 17:10:37 +00:00
Fumitoshi UKAI
900682ebd5 [w3m-dev-en 00748] PATCH: Reinitialize w3m while running
* funcname.tab (INIT_MAILCAP): deleted
	(REINIT): added
* main.c (config_filename): added
	(reinit): added
* proto.h (reinit): added
* rc.c (rc_initialized): deleted
* w3mhelperpanel.c (editMailcap): use REINIT MAILCAP
From: Tushar Samant <scribble@pobox.com>
2002-06-01 17:09:04 +00:00
Fumitoshi UKAI
fc4b6e4a93 [w3m-dev 03200] Re: New configuration option `keymap_file'' and new command `DEFINE_KEY''
* fm.h: add <sts/stat.h>, unistd.h>
* fm.h (keymap_file): added
* func.c (keymap_initialized): added
	(current_keymap_file): added
	(setKeymap): added
	(initKeymap): rewrite to use setKeymap()
* funcname.tab (DEFINE_KEY): added
* main.c (MAIN): initKeymap(TRUE)
	(defKey): added
* proto.h (defKey): added
	(setKeymap): added
	(initKeymap): add force param
* rc.c (CMT_KEYMAP_FILE): added
	(params3): add keymap_file
	(sync_with_option): add initKeymap(FALSE)
* doc/README.func (DEFINE_KEY): added
* doc-jp/README.func: (DEFINE_KEY): added
* scripts/w3mhelp.cgi.in: add defKey
* NEWS:
	func: DEFINE_KEY
	rc: keymap_file
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2002-06-01 16:50:16 +00:00
Fumitoshi UKAI
894c5097b7 [w3m-dev 03196] C-w
* linein.c (inputLineHistSearch) move_word changed
* linein.c (setStrType): add space to termchar
From: Hiroaki Shimotsu <shim@d5.bs1.fc.nec.co.jp>
2002-06-01 16:31:54 +00:00
Fumitoshi UKAI
c474645e5d [w3m-dev 03191] typo in file.c:extract_auth_val()?
* file.c (extract_auth_val): s/177/0177/
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2002-05-14 15:31:49 +00:00
Fumitoshi UKAI
4f032440ff [w3m-dev 03190] a tiny patch for configure
* configure (ask_choice): reset default value
From: Tsutomu OKADA <okada@furuno.co.jp>
2002-05-14 15:30:01 +00:00
Fumitoshi UKAI
76f9795f11 [w3m-dev 03185] Re: cmd_mark in main.c, rev 1.60 broke unmark?
* main.c (cmd_mark): deleted
	(_mark): xor PE_MARK
	(reMark): or PE_MARK
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2002-04-26 16:06:34 +00:00
Fumitoshi UKAI
d66473fee8 * scripts/.cvsignore: add xface2xpm
From: Fumitoshi UKAI <ukai@debian.or.jp>
2002-04-26 16:00:58 +00:00
Fumitoshi UKAI
4a4c918094 [w3m-dev-en 00733] Submission: "English" patch
* rc.c: update english
From: Tushar Samant <scribble@pobox.com>
2002-04-25 16:26:58 +00:00
Fumitoshi UKAI
d8b170a074 fix version info 2002-04-24 18:46:48 +00:00
Fumitoshi UKAI
4e8c85a7fa [w3m-dev-en 00730] Re: Patch for a more flexible dictionary lookup
* NEWS: rc: use_dictcommand, dictcommand
* main.c (execdict): use url_quote_conv() instead of cURLcode()
* proto.h (cURLcode): deleted
* doc-jp/README.dict: updated
From: Fumitoshi UKAI  <ukai@debian.or.jp>

[w3m-dev-en 00729] Re: Patch for a more flexible dictionary lookup
* config.h.dist (DICT): define
* configure (use_dict): default y
* fm.h (DICTCMD): deleted
	(UseDictCommand): added
	(DictCommand): added
* main.c (execdict): rewrite to use DictCommand, loadGeneralFile()
* rc.c (CMT_USE_DICTCOMMAND): added
	(CMT_DICTCOMMAND): added
	(params1): use_dictcommand, dictcommand added
* doc/README.dict: updated
From:  Tushar Samant <scribble@pobox.com>
2002-04-24 18:29:35 +00:00
Fumitoshi UKAI
aac1c333cf [w3m-dev 03181] KEYBIND_SRC was not passed to scripts/Makefile
* Makefile (all-scripts): pass KEYBIND_SRC
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2002-04-20 17:50:20 +00:00
Fumitoshi UKAI
21669558a0 [w3m-dev 03178] Parser of `cols'' and `rows''
* frame.c (parseFrameSetLength): added
	(newFrameSet): use parseFrameSetLength()
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2002-04-17 02:44:22 +00:00
Fumitoshi UKAI
404f518f06 fix indent 2002-04-17 02:42:27 +00:00
Fumitoshi UKAI
b7f12d8798 [w3m-dev 03177] SIGUSR1 --> W3M_SIGIMG in image.c
* image.c (W3M_SIGIMG): added
	(load_image_handler): s/SIGUSR1/W3M_SIGIMG/
	(load_image_next): ditto
	(loadImage): ditto
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2002-04-17 02:36:45 +00:00
Fumitoshi UKAI
576f325c86 [w3m-dev 03176] no Content-Type in http response header
* file.c (loadGeneralFile): guess content-type from filename
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2002-04-17 02:32:13 +00:00
Fumitoshi UKAI
4745005121 [w3m-dev 03169] Can't calculate table height if number of cells > 20.
* table.c (check_table_height): change row, rowspan, indexarray, height
		from array to pointer
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2002-04-09 14:53:54 +00:00
Fumitoshi UKAI
c2c01b60dd [w3m-dev 03167] xface2xbm -> xface2xpm (current imlib can't handle XBM)
* configure: s/XFACE2XBM/XFACE2XPM/
* config.h.dist: ditto
* file.c (xface2xpm): renamed from xface2xbm
		modified for xpm
	(readHeader): s/xface2xbm/xface2xpm/
* scripts/Makefile (LIB_TARGETS): s/xface2xbm/xface2xpm/
* scripts/xface2xpm.in: added
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2002-04-09 14:45:58 +00:00
Fumitoshi UKAI
c9e86eb96d NEWS: mark_all_pages 2002-04-09 04:34:36 +00:00
Fumitoshi UKAI
673b0feb77 [w3m-dev 03162] Re: "ttp:" is marked instead of "http:" by MARL_URL
* main.c (chkURLBuffer): "mailto" removed when USE_W3MMAILER
	in this case, chkExternalURIBuffer() will mark mailto: URL.
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-03-29 16:58:06 +00:00
Fumitoshi UKAI
c6b76b9c87 [w3m-dev 03160] Re: "ttp:" is marked instead of "http:" by MARL_URL
* NEWS:
* anchor.c (reAnchorAny): check MarkAllPages
* fm.h (MarkAllPages): added
* rc.c (CMT_MARK_ALL_PAGES): added
	(mark_all_pages): added
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2002-03-29 16:39:37 +00:00
Fumitoshi UKAI
3f67a7d3d6 [w3m-dev 03159] "ttp:" is marked instead of "http:" by MARL_URL
* main.c (chkURLBuffer): check internal URLs first
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2002-03-29 16:32:00 +00:00
Fumitoshi UKAI
d1db6a9ef1 terms.c (set_tty): s/term_info/w3m_term_info/g;
struct term_info is defined in FreeBSD's sys/consio.h
	reported by KOIE Hidetaka <hide@koie.org>
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-03-27 15:41:37 +00:00
Fumitoshi UKAI
f63662d330 [w3m-dev 03146] Re: header option
* main.c (make_optional_header_string): cleanups
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2002-03-27 15:35:06 +00:00
Fumitoshi UKAI
067d72b5da [w3m-dev 03145] header option
* main.c (MAIN): hide args for security
From: Yuuichi Teranishi <teranisi@gohome.org>
2002-03-27 15:26:09 +00:00
Fumitoshi UKAI
69649838b1 [w3m-dev 03140] Forward: Bug#139305:
w3m: EXTERN_LINK does not work if href ends with ampersand
* main.c (invoke_browser): check bg by browser
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2002-03-22 15:35:44 +00:00
Fumitoshi UKAI
7d9c4711a4 indent fix 2002-03-22 15:05:18 +00:00
Fumitoshi UKAI
8c342edd42 terms.c (term_title): use ttyf instead of stderr
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-03-20 17:53:00 +00:00
Fumitoshi UKAI
1863e1229a configure: -mandir 2002-03-19 16:27:55 +00:00
Fumitoshi UKAI
3238893788 [w3m-dev 03137] Re: w3mman.1
* XMakefile (MAN1): added
	    (MAN1_JA): added
	    (install-core): install man
	    (install-scripts): pass MAN_DIR
	    (uninstall): uninstall man, pass MAN_DIR to subdirs
* config.h.dist (MAN_DIR): added
		(MAN1_DIR): added
		(MAN1_JA_DIR): added
* configure: -mandir
	  (config.h): add MAN_DIR, MAN1_DIR, MAN1_JA_DIR
* scripts/w3mman/Makefile (MAN1_DIR): added
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2002-03-19 16:27:20 +00:00
Fumitoshi UKAI
6ff0f20355 func: COMMAND 2002-03-19 16:07:51 +00:00
Fumitoshi UKAI
f475e89f9f [w3m-dev 03136] Add COMMAND to execute multiple commands
* fm.h (CurrentMenuData): deleted
	(CurrentCmdData): added
* func.c (getKey): check next char of ^
	(getWord): get word until ';'
	(getQWord): rewrite using Str
* funcname.tab (COMMAND): added
* main.c (MAIN): delete CurrentMenuData
		initialize CurrentCmdData
	(searchKeyData): use CurrentCmdData
	(execCmd): added
	(SigAlarm): delete CurrentMenuData, use CurrentCmdData
* menu.c (action_menu): delete CurrentMenuData, use CurrentCmdData
* proto.h (execCmd): added
* doc/README.func (ALARM): capitalize
		(COMMAND): added
* doc-jp/README.func (COMMAND): added
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2002-03-19 16:06:52 +00:00
Fumitoshi UKAI
382685bf0a [w3m-dev 03135] commit of [w3m-dev 03006] is incomplete.
* file.c (HTMLlineproc2body): check form_int fid attr
		update forms[]
		fix buf->formlist
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2002-03-19 15:54:47 +00:00
Fumitoshi UKAI
0a01b79dcf indent fix 2002-03-15 19:02:40 +00:00
Fumitoshi UKAI
dbafc61f6d part of [w3m-dev-en 00713] contrib: unofficial "current page info" patch, updated for w3m-0.3
by Moritz Barsnick <barsnick@gmx.net>
* map.c (page_info_panel): s/line/lines/
			s/byte/bytes/
			anchor for URL of current anchor
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-03-15 18:48:55 +00:00
Fumitoshi UKAI
d2f5a95a9b -title support
modified [w3m-dev-en 00710] contrib: unofficial "xterm title" patch, updated for w3m-0.3
  by Moritz Barsnick <barsnick@gmx.net>
* NEWS: -title
* fm.h (displayTitleTerm): added
* proto.h (term_title): added
* main.c (fusage): add -title
	(MAIN): add -title
	(quitfm): term_title("")
* display.c (displayBuffer): term_title()
* terms.c (title_str): added
	(TERM_INFO): added
	(term_info): modified from mouse_term_info
	(term_info_list): modified from xterm_mouse_term
			add "screen"
	(set_tty): check displayTitleTerm
	(term_title): added
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-03-15 18:33:31 +00:00