aboutsummaryrefslogtreecommitdiffstats
path: root/frame.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-08-11Fix resource leakDavid Crosby1-1/+3
2013-04-08Support the siteconf featureTatsuya Kinoshita1-4/+5
Patch to support the siteconf feature, from [w3m-dev 04463] on 2012-06-27, provided by AIDA Shinra.
2011-05-04Adding upstream version 0.5.1upstream/0.5.1Tatsuya Kinoshita1-0/+943
2003-09-26add commentsFumitoshi UKAI1-1/+5
2003-09-22merge m17n patchFumitoshi UKAI1-30/+55
add libwc
2003-05-12[w3m-dev 03896] html_quote in textarea in frameFumitoshi UKAI1-2/+5
* frame.c (createFrameFile): fix html_quote in textarea in frame From: Hironori SAKAMOTO <h-saka@lsi.nec.co.jp>
2003-01-29[w3m-dev 03708] Re: Don't stop loading image when moving to next page.Fumitoshi UKAI1-11/+4
* 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>
2003-01-20[w3m-dev 03660] Re: fputs -> StrfputsFumitoshi UKAI1-4/+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>
2003-01-15[w3m-dev 03640] Re: cleanup (don't close connection of news server)Fumitoshi UKAI1-16/+7
* 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>
2003-01-09[w3m-dev 03619] Re: Error occured while resetFumitoshi UKAI1-30/+5
* 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>
2002-12-14[w3m-dev 03570] meta tag in frameFumitoshi UKAI1-6/+6
* frame.c (createFrameFile): fix meta equiv parse in frame From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-06[w3m-dev 03535] close anchor, quote <Fumitoshi UKAI1-2/+11
* file.c (HTMLtagproc1): close_anchor * frame.c (createFrameFile): quote < From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-05[w3m-dev 03527] fix frame.cFumitoshi UKAI1-2/+2
* frame.c (createFrameFile): move need_reconstruct From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-03fix indentFumitoshi UKAI1-5/+5
2002-12-03[w3m-dev 03509] HTML parserFumitoshi UKAI1-28/+132
* 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>
2002-11-28[w3m-dev 03498] Re: parse <!-- ... --> in <script>Fumitoshi UKAI1-2/+4
* file.c (HTMLlineproc0): tag in textarea * frame.c (createFrameFile): fix comment processing in frame From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-11-26q already html_quote()edFumitoshi UKAI1-6/+7
fix indent
2002-11-26frame.c (createFrameFile): html_quote()Fumitoshi UKAI1-3/+4
From: Fumitoshi UKAI <ukai@debian.or.jp>
2002-11-26[w3m-dev 03488] meta refresh in frameFumitoshi UKAI1-3/+21
* file.c (getMetaRefreshParam): added (HTMLtagproc1): use getMetaRefreshParam() * frame.c (createFrameFile): check meta refresh * proto.h (getMetaRefreshProgram): added From: Hiroyuki Ito <hito@crl.go.jp>
2002-11-26w3m 0.3.2.1 security fixFumitoshi UKAI1-8/+10
* frame.c (createFrameFile): html_quote() From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-11-05[w3m-dev 03373] setting form on loadingFumitoshi UKAI1-1/+2
* config.h.dist (PRE_FORM_FILE): added * configure (PRE_FORM_FILE): added * etc.c (openPasswdFile): define by openSecretFile() (openSecretFile): renamed, not static * file.c (loadGeneralFile): preFOrmUpdateBuffer() * fm.h (Buffer): add submit (pre_form_file): added * form.c (struct pre_form_item): added (struct pre_form): added (next_token): added (PreForm): added (add_pre_form): added (add_pre_form_item): added (loadPreForm): added (preFormUpdateBuffer): added * frame.c (renderFrame): add preFormUpdateBuffer() * main.c (MAIN): buf->submit check * proto.h (preFormUpdateBuffer): added (openSecretFile): added (loadPreForm): added * rc.c (sync_with_option): add loadPreForm() From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-06-17[w3m-dev 03214] strtoul() -> strtol() for SunOS4Dai Sato1-2/+2
2002-04-17[w3m-dev 03178] Parser of ``cols'' and ``rows''Fumitoshi UKAI1-72/+46
* frame.c (parseFrameSetLength): added (newFrameSet): use parseFrameSetLength() From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2002-03-15indent fixFumitoshi UKAI1-3/+3
2002-03-15[w3m-dev 03132] Re: Reload imageFumitoshi UKAI1-3/+13
* file.c (loadGeneralFile): b->type = "text/html" * file.c (loadImageBuffer): comment out getImageSize() image_flag = IMG_FLAG_AUTO * file.c (openGeneralPagerBuffer): buf->type = "text/html" * frame.c (resetFrameElement): if (buf->mailcap_source) ... * frame.c (frame_download_source): if (buf->mailcap_source) ... * main.c (vwSrc): #ifdef USE_IMAGE From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2002-02-09[w3m-dev 03034] check bufFumitoshi UKAI1-2/+3
* frame.c (frame_download_source): buf->ssl_certificate can be used only if buf != NULL && buf != NO_BUFFER From: Fumitoshi UKAI <ukai@debian.or.jp>
2002-02-08[w3m-dev 03022] SSL certificates of frame bodyFumitoshi UKAI1-1/+5
* frame.h (frame_body): add ssl_certificate * frame.c (frame_download_source): save ssl_certificate * map.c (append_frame_info): display ssl_certificate of frame_body From: Fumitoshi UKAI <ukai@debian.or.jp>
2002-01-31w3m-img merge (w3m-0.2.4+cvs-1.278-img-2.2.patch.gz)Fumitoshi UKAI1-3/+8
* 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>
2002-01-25[w3m-dev 02908] document code of frameFumitoshi UKAI1-1/+4
* frame.c (renderFrame): save document_code if JP_CHARSET From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2002-01-15[w3m-dev 02834] mailto: use external programFumitoshi UKAI1-3/+5
2001-11-29[w3m-dev 02584] code cleanup againFumitoshi UKAI1-2/+2
From: Fumitoshi UKAI <ukai@debian.or.jp>
2001-11-24run make indentFumitoshi UKAI1-74/+67
2001-11-20fix possible buffer overrunFumitoshi UKAI1-3/+7
2001-11-16follow autoconf conventions, #include cleanupsFumitoshi UKAI1-4/+1
2001-11-15Update to w3m-0.2.1-inu-1.6.Akinori Ito1-14/+18
2001-11-09Updates from 0.2.1 into 0.2.1-inu-1.5release-0-2-1-inu-1-5Akinori Ito1-27/+56