aboutsummaryrefslogtreecommitdiffstats
path: root/table.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [w3m-dev 03923] avoid extra blanks in pre in table.Dai Sato2007-05-231-42/+12
|
* close textarea when table related tags are found.Dai Sato2006-04-081-4/+9
|
* Use Strnew_charp(" ") instead of the wrong Strnew(" ").Dai Sato2006-04-071-2/+2
|
* rewind to 10 Feb 2006.Dai Sato2006-04-071-10/+5
|
* apply multiple patches on w3m-dev(-en) ML since Jun 2005 to Jan 2006.Dai Sato2006-04-051-5/+10
|
* [w3m-dev 04030] PUSH_TAG macroFumitoshi UKAI2004-01-091-2/+2
| | | | | * table.c (PUSH_TAG): fixed problem in --disable-m17n From: ABE Yuji <cbo46560@pop12.odn.ne.jp>
* fix indentFumitoshi UKAI2003-09-241-10/+10
|
* merge m17n patchFumitoshi UKAI2003-09-221-126/+97
| | | | add libwc
* [w3m-dev 03937] <center> in <table>Fumitoshi UKAI2003-07-131-4/+11
| | | | | | | * table.c (feed_table_tag): fix <center>,</center>,<div>,</div>, <p>,<br>,<nobr>,</nobr>,<wbr> check_rowcol() for <img> From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* fix indentFumitoshi UKAI2003-05-141-4/+4
|
* [w3m-dev 03902] Re: table renderingFumitoshi UKAI2003-05-141-3/+11
| | | | | | * table.c (check_relative_width): check n_leftcell check w <= r From: Akinori Ito <aito@fw.ipsj.or.jp>
* [w3m-dev 03900] Re: table renderingFumitoshi UKAI2003-05-131-4/+4
| | | | | * table.c (check_relative_width): j loop starts from 0 From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* fix indentFumitoshi UKAI2003-05-131-18/+18
|
* [w3m-dev 03898] Re: table renderingFumitoshi UKAI2003-05-131-1/+78
| | | | | | * table.c (check_relative_width): added (set_table_matrix): use check_relative_width From: Akinori Ito <aito@fw.ipsj.or.jp>
* [w3m-dev 03761] eliminate compiler warningsFumitoshi UKAI2003-02-201-1/+3
| | | | | | * ftp.c (ftp_login): Str tmp * table.c (feed_table_tag): p is used ifdef ID_EXT From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* * etc.c (next_status): after = is R_ST_VALUEFumitoshi UKAI2003-01-231-2/+3
| | | | | | | | | | | | | | | | | R_ST_VALUE > => R_ST_NORMAL R_ST_VALUE SP => R_ST_TAG (read_token): R_ST_VALUE (correct_irrtag): R_ST_VALUE * rm.h (R_ST_VALUE): added (ST_IS_REAL_TAG): rewrite (ST_IS_COMMENT): deleted (ST_IS_TAG): deleted * parsetagx.c (parse_tag): skip too long tagname skip too long attrname if attrvalue has quote char, need reconstruct if unknown attr, need reconstruct * table.c (visible_length): R_ST_VALUE From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03660] Re: fputs -> StrfputsFumitoshi UKAI2003-01-201-3/+3
| | | | | | | | | | | | | | | | * Str.h (Strncmp_charp): paren (Strncasecmp_charp): ditto (Strinsert): ditto (Strshrinkfirst): ditto * display.c (disp_err_message): added * file.c (loadGeneralFile): don't put function in macro arg (saveBuffer): ditto * frame.c (createFrameFile): ditto * proto.h (disp_err_message): macro->function * table.c (pushdata): if data is NULL, use "" (suspend_or_pushdata): if line is NULL, use "" * textlist.h (pushText): don't use (s) twice in a macro From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03577] incorrect table widthFumitoshi UKAI2002-12-171-9/+9
| | | | | | | | * 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 03536] <del>, <s>Fumitoshi UKAI2002-12-061-3/+15
| | | | | | | | | | | | | | | | | | | | * file.c (HTMLtagproc1): <s>..</s> is [S:...:S] (HTMLtagproc0): <del> will delete <table> * fm.h (RB_S): added * html.c (TagMAP): <s>,</s> move <internal>, </internal> * html.h (HTML_S): added (HTML_N_S): added (HTML_INTERNAL): renumed (HTML_N_INTERNAL): ditto (MAX_HTMLTAG): add 2 * rc.c (CMT_DISP_INS_DEL): update * table.c (feed_table_tag): add HTML_S, HTML_N_S * table.h (TBLM_S): added (TBLM_ANCHOR): renum * tagtable.tab: (strike, s): HTML_S (/strike, /s): HTML_N_S From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03523] Re: del/insFumitoshi UKAI2002-12-041-3/+22
| | | | | | | | | | | | | * file.c (HTMLtagproc1): check displayInsDel, RB_DEL * fm.h (RB_DEL): added (displayInsDel): added * rc.c (CMT_DISP_INS_DEL): added (display_ins_del): added * table.c (feed_table_tag): check displayInsDel, TBLM_DEL * table.h (TBLM_DEL): added (TBLM_ANCHOR): renum (struct table_mode): unsigned int pre_mode From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03512] Re: HTML parserFumitoshi UKAI2002-12-031-1/+7
| | | | | * table.c (feed_table_tag): HTML_N_SELECT, HTML_N_CAPTION From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* fix indentFumitoshi UKAI2002-12-031-5/+5
|
* [w3m-dev 03509] HTML parserFumitoshi UKAI2002-12-031-84/+172
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * file.c (close_textarea): delete (HTMLtagproc1): rewrite delete HTML_EOL move HTML_LISTING, HTML_N_LISTING add HTML_PRE_PLAIN, HTML_N_PRE_PLAIN add HTML_PLAINTEXT end_tag (HTMLlineproc0): s/str/line/ rewrite (completeHTMLstream): </textarea> if necessary * fm.h (struct readbuffer): delete ignore_tag add end_tag (RB_XMPMODE): deleted (RB_LSTMODE): deleted (RB_SCRIPT): added (RB_STYLE): added (RB_*): renumber (R_ST_EOL): added (R_ST_*): renumber (ST_IS_TAG): check R_ST_EOL * form.c (form_fputs_decode): remove <eol> handling * frame.c (newFrame): remove_space() (CASE_TABLE_TAG): added (createFrameFile): rewrite * html.c (TagMAP): delete eol add pre_plain, /pre_plain * html.h (HTML_EOL): deleted (HTML_PRE_PLAIN): added (HTML_N_PRE_PLAIN): added * table.c (visible_length): rewrite (visible_length_plain): added (maximum_visible_length_plain): added (do_refill): R_ST_EOL (table_close_select): end_tag (table_close_textarea): end_tag (TAG_ACTION_PLAIN): added (feed_table_tag): rewrite (feed_table): rewrite * table.h (TBLM_*) reassign (struct table_mode): delete ignore_tag add end_tag * tagtable.tab (eol): deleted (pre_plain): added (/pre_plain): added From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03476] Re: Bug#170506: w3m: Unable to use mozilla bugzillaFumitoshi UKAI2002-11-251-1/+3
| | | | | | | | * file.c (HTMLtagproc1): initialize ignore_tag in table_mode (HTMLtagproc0): check table_level * table.c (feed_table_tag): set mode->ignore_tag * table.h (struct table_mode): add ignore_tag From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03438] Re: segmentation fault by large complex table.Fumitoshi UKAI2002-11-151-1/+3
| | | | | | * table.c (check_table_height): check MAXROWCELL * table.h (MAXROWCELL): added From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* fix indentFumitoshi UKAI2002-11-051-3/+3
|
* [w3m-dev 03371] segmentation fault by large complex table.Fumitoshi UKAI2002-11-051-21/+32
| | | | | | | | | | | | * table.c (bsearch_2short): indexarry char to short (bsearch_double): ditto (dv2sv): ditto (table_rule_width): ditto (set_integrated_width): ditto (check_table_height): ditto (feed_table_tag): ditto * table.h (struct table_cell): index, eindex char to short From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* fix indentFumitoshi UKAI2002-10-301-3/+3
|
* [w3m-dev 03351] w3m core dumpFumitoshi UKAI2002-10-281-5/+6
| | | | | * table.c (feed_table_tag): fix rendering problem (maybe security hole?) From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03339] Re: Debian Bug#164098 w3m: <sup> is not properly supportedFumitoshi UKAI2002-10-101-1/+5
| | | | | | | | | | | | | | | * file.c (HTMLtagproc1): HTML_SUP, HTML_N_SUP, HTML_SUB, HTML_N_SUB * html.c (TagMAP): sup, /sup, sub, /sub * html.c (HTML_SUP): added (HTML_N_SUP): added (HTML_SUB): added (HTML_N_SUB): added * table.c (feed_table_tag): HTML_SUP, HTML_N_SUP, HTML_SUB, HTML_N_SUB * tagtable.tab (sup): added (/sup): added (sub): added (/sub): added From: Fumitoshi UKAI <ukai@debian.or.jp>
* fix indentFumitoshi UKAI2002-04-171-2/+3
|
* [w3m-dev 03169] Can't calculate table height if number of cells > 20.Fumitoshi UKAI2002-04-091-18/+35
| | | | | | * table.c (check_table_height): change row, rowspan, indexarray, height from array to pointer From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03116] Re: aligned block in <td align="center">Fumitoshi UKAI2002-03-121-1/+2
| | | | | | | | | * file.c (flushline): align if align="align" * fm.h (RB_LEFT): change value (RB_ALIGN): include RB_LEFT (RB_INTABLE): added * table.c (do_refill): obuf.flag |= RB_INTABLE From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03059] table + hborder + rowspan + valign=bottomFumitoshi UKAI2002-02-221-1/+2
| | | | | * table.c (renderTable): add case BORDER_NOWIN: From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02991] form support in w3m -halfdump foo.html|w3m -halfloadFumitoshi UKAI2002-02-051-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fm.h (DUMP_HALFEXTRA): deleted * proto.h (process_select): return Str * file.c (process_img): process_form() fix * file.c (process_input): process_form() fix * file.c (process_select): return Str process_form() fix * file.c (process_textarea): process_form() fix * file.c (process_form): support -halfdump * file.c (HTMLtagproc1): delete case HTML_FORM_INT, HTML_N_FORM_INT process_{form,select,textarea}() fix * file.c (HTMLlineproc2body): support -halfload HTML_INTERNAL, HTML_N_INTERNAL, HTML_FORM_INT, HTML_FORM_INT, HTML_TEXTAREA_INT, HTML_N_TEXTAREA_INT, HTML_SELECT_INT, HTML_N_SELECT_INT, HTML_OPTION_INT, HTML_TITLE_ALT * file.c (print_internal_information): fix -halfdump * file.c (loadHTMLstream): no DUMP_HALFEXTRA * html.h: add HTML_INTERNAL, HTML_N_INTERNAL, HTML_SELECT_INT, HTML_N_SELECT_INT, HTML_OPTION_INT, HTML_TEXTAREA_INT, HTML_N_TEXTAREA_INT * html.c (ALST_TEXTAREA_INT): added * html.c (ALST_SELECT_INT): added * html.c: add <internal>, </internal>, <select_int>, </select_int> <option_int>, <textarea_int>, </textarea_int> * main.c (MAIN): delete -halfdump_extra dont output <pre> by -halfdump * table.c (feed_table_tag): process_{form,select}() fix add case HTML_INTERNAL, HTML_N_INTERNAL, HTML_SELECT_INT, HTML_N_SELECT_INT, HTML_OPTION_INT, HTML_TEXTAREA_INT, HTML_N_TEXTAREA_INT, * tagtable.tab: add internal, /internal, select_int, /select_int option_int, textarea_int, /textarea_int From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* w3m-img merge (w3m-0.2.4+cvs-1.278-img-2.2.patch.gz)Fumitoshi UKAI2002-01-311-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * NEWS: w3m-img merge * .cvsignore: add w3mimgdisplay, w3mimgsize * XMakefile: add image.c to SRCS add image.o to OBJS add IMGDISPLAY, IMGSIZE * config.h.dist: USE_IMAGE, IMGSIZE, IMGDISPLAY * configure: add find_imlib ask use_image (config.h) add $imgtarget to EXT_TARGETS $def_use_image IMGSIZE, IMGDISPLAY * fm.h (MAX_IMAGE): added * fm.h (DEFAULT_PIXEL_PER_CHAR): fix for USE_IMAGE * fm.h (DEFAULT_PIXEL_PER_LINE): added * fm.h (B_REDRAW_IMAGE): added * fm.h (IMG_FLAG_SKIP): added * fm.h (IMG_FLAG_AUTO): added * fm.h (IMG_FLAG_START): added * fm.h (IMG_FLAG_STOP): added * fm.h (IMG_FLAG_NEXT): added * fm.h (IMG_FLAG_UNLOADED): added * fm.h (IMG_FLAG_LOADED): added * fm.h (IMG_FLAG_ERROR): added * fm.h (MapArea): added * fm.h (MapList): s/urls/alts/, add area * fm.h (ImageCache): added * fm.h (Image): added * fm.h (Anchor): add image * fm.h (Buffer): add imarklist, image_flag, need_reshape * fm.h (RG_FRAME_SRC): added * fm.h (ALIGN_MIDDLE): added * fm.h (ALIGN_TOP): added * fm.h (ALIGN_BOTTOM): added * fm.h (QuietMessage): added * fm.h (Imgdisplay): added * fm.h (Imgsize): added * fm.h (activeImage): added * fm.h (displayImage): added * fm.h (autoImage): added * fm.h (useExtImageViewer): added * fm.h (image_source): added * fm.h (view_unseenobject): change default if USE_IMAGE * fm.h (set_pixel_per_char): added * fm.h (pixel_per_line): added * fm.h (set_pixel_per_line): added * fm.h (image_scale): added * proto.h (dispI): added * proto.h (stopI): added * proto.h (deleteImage): added * proto.h (getAllImage): added * proto.h (loadImage): added * proto.h (getImage): added * proto.h (getImageSize): added * proto.h (process_img): add width arg * proto.h (loadImageBuffer): added * proto.h (follow_map_menu): add a_img arg * proto.h (getMapXY): added * proto.h (newMapArea): added * proto.h (touch_cursor): added * proto.h (cURLcode): added * proto.h (initImage): added * proto.h (termImage): added * proto.h (addImage): added * proto.h (drawImage): added * proto.h (clearImage): added * anchor.c (addMultirowsImg): added * buffer.c (discardBuffer): deleteImage if USE_IMAGE * buffer.c (reshapeBuffer): buf->need_reshape check * display.c (fmTerm): if activeImage, stop load image * display.c (fmInit): if displayImage, initImage * display.c (image_touch): added * display.c (draw_image_flag): added * display.c (redrawLineImage): added * display.c (displayBuffer): buf->need_reshape = TRUE mode == B_REDRAW_IMAGE image flag checks force redraw image in mode == B_REDRAW_IMAGE displayBuffer if need reshape drawImage * display.c (redrawNLine): redrawLineImage * display.c (redrawLineImage): added * display.c (disp_message_nsec): return immediately if QuietMessage * etc.c (reset_signals): ignore SIGUSR1 * file.c (frame_source): added * file.c (_MoveFile): added * file.c (cur_baseURL): added * file.c (cur_document_code): added * file.c (cur_iseq): added * file.c (loadGeneralFile): fix fmInitialized and prevtrap checks save cur_baseURL image_source load loadImageBuffer for "image/*" frame_source flag fix b->type when proc is loadImageBuffer * file.c (process_img): add width arg parse height and width attr, align fix for inline-image * file.c (process_input): fix for form <input type="image"> * file.c (HTMLtagproc1): pass h_env->limit to process_img() fix <img_alt> for inline-image save cur_baseURL * file.c (HTMLlineproc2body): fix <img_alt> for inline-image * file.c (loadHTMLstream): fix for inline-image fix fmInitialized and prevtrap checks save cur_document_code save image_flag * file.c (loadGopherDir): save cur_document_code fix fmInitialized and prevtrap checks * file.c (loadImageBuffer): added for inline-image * file.c (save2tmp): fix fmInitialized and prevtrap checks * frame.c (frame_download_source): set RG_FRAME_SRC flag image check * funcname.tab (DISPLAY_IMAGE): added * funcname.tab (STOP_IMAGE): added * html.c (ALST_IMG): add align, ismap * html.c (ALST_AREA): add shape, coords * html.c (ALST_IMG_ALT): add width, height, usemap, ismap, hseq, xoffset, yoffset, top_margin, bottom_margin * html.c (AttrMap): add shape, coords, ismap, xoffset, yoffset * html.h (ATTR_SHAPE): added * html.h (ATTR_COORDS): added * html.h (ATTR_ISMAP): added * html.h (ATTR_XOFFSET): added * html.h (ATTR_YOFFSET): added * html.h (ATTR_TOP_MARGIN): added * html.h (ATTR_BOTTOM_MARGIN): added * html.h (SHAPE_UNKNOWN): added * html.h (SHAPE_DEFAULT): added * html.h (SHAPE_RECT): added * html.h (SHAPE_CIRCLE): added * html.h (SHAPE_POLY): added * image.c: added * main.c (fversion): add USE_IMAGE * main.c (fusage): -ppl option * main.c (MAIN): set_pixel_per_char if ppc specified -ppl option loadImage * main.c (pushBuffer): deleteImage * main.c (quitfm): termImage * main.c (selBuf): deleteImage * main.c (followA): fix for inline-image and map area * main.c (query_from_followform): getMapXY() * main.c (setOpt): displayBuffer B_REDRAW_IMAGE * main.c (follow_map): fix calculate x, y * main.c (dispI): added * main.c (stopI): added * map.c: include <math.h> * map.c (inMapArea): added * map.c (follow_map_menu): add a_img arg to handle inline-image * map.c (follow_map_panel): use MapArea * map.c (getMapXY): added * map.c (newMapArea): added * menu.c (smChBuf): deleteImage * parsetagx.c (toAlign): align top, bottom, middle * rc.c (P_SCALE): added * rc.c (CMT_PIXEL_PER_LINE): added * rc.c (CMT_DISP_IMAGE): added * rc.c (CMT_AUTO_IMAGE): added * rc.c (CMT_EXT_IMAGE_VIEWER): added * rc.c (CMT_IMAGE_SCALE): added * rc.c (CMT_IMGDISPLAY): added * rc.c (CMT_IMGSIZE): added * rc.c (show_param): P_PIXELS * rc.c (set_param): P_PIXELS * rc.c (sync_with_option): initImage * rc.c (to_str): P_PIXELS * table.c (feed_table_tag): fix <img> for inline-image * tagtable.tab (image): added * terms.c (wgetch): retry read when EINTR or EAGAIN * terms.c (touch_cursor): added * w3mimgdisplay.c: added * w3mimgsize.c: added * doc/README.func (DISPLAY_IMAGE): added * doc/README.func (STOP_IMAGE): added * doc/README.img: added * doc-jp/README.func (DISPLAY_IMAGE): added * doc-jp/README.func (STOP_IMAGE): added * doc-jp/README.img: added * scripts/w3mhelp.cgi.in: show dispI, stopI * scripts/multipart/multipart.cgi.in: inline image support From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02919] wrong table width calculationFumitoshi UKAI2002-01-281-18/+6
| | | | | * table.c (set_table_matrix0): refine width calculation From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02913] wrong table width calculationFumitoshi UKAI2002-01-251-6/+30
| | | | | * table.c (set_table_matrix0): refine width calculation From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02875] rendering a table with inconsistent colspan,rowspanFumitoshi UKAI2002-01-251-1/+5
| | | | | | * table.c (feed_table_tag): don't clear HTT_X|HTT_Y, instead, if set these flags, break the loop From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02909] wrong table width calculation (sf.net Bug#506949)Fumitoshi UKAI2002-01-251-13/+41
| | | | | | * table.c (correct_table_matrix4): added * table.c (set_table_matrix0): use correct_table_matrix4() From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02896] fid attr value should be in sequenceFumitoshi UKAI2002-01-231-3/+3
| | | | | * table.c (feed_table_tag): s/line/""/ for HTML_FORM,HTML_N_FORM From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02769] <form>..</form> as block elementFumitoshi UKAI2001-12-271-1/+3
| | | | From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02670]Fumitoshi UKAI2001-12-171-6/+3
| | | | From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
* [w3m-dev 02663] fix prevA() cause loopFumitoshi UKAI2001-12-141-3/+3
| | | | From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02586] code cleanup againFumitoshi UKAI2001-11-291-31/+32
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02584] code cleanup againFumitoshi UKAI2001-11-291-5/+5
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* run make indentFumitoshi UKAI2001-11-241-209/+193
|
* [w3m-dev 02523]Fumitoshi UKAI2001-11-231-2/+2
| | | | | From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp> fix problem of anchor tag with name attribute only
* [w3m-dev 02506]Fumitoshi UKAI2001-11-221-5/+1
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02498]Fumitoshi UKAI2001-11-221-4/+4
| | | | From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>