aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix compiler warningsFumitoshi UKAI2003-01-231-1/+5
| | | | | * display.c (displayBuffer): fix suggest parentheses around && within || From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03667] fold patchFumitoshi UKAI2003-01-231-1/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* * etc.c (next_status): after = is R_ST_VALUEFumitoshi UKAI2003-01-231-1/+18
| | | | | | | | | | | | | | | | | 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 03680] showProgress() on fast systemFumitoshi UKAI2003-01-231-1/+6
| | | | | * file.c (showProgress): check line len, time From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03679] Re: cleanup for pipeFumitoshi UKAI2003-01-231-1/+7
| | | | | | * etc.c (open_pipe_rw): check stdin, stdout * file.c (uncompress_stream): rewrite From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03678] Re: config.param is clear when configure -helpFumitoshi UKAI2003-01-221-1/+6
| | | | | * configure: don't override config.param From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03677] view source, edit sourceFumitoshi UKAI2003-01-221-1/+11
| | | | | | | | | | * 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 03676] cleanup for pipeFumitoshi UKAI2003-01-221-1/+15
| | | | | | | | | | | | | | * etc.c (open_pipe_rw): added * file.c (uncompress_stream): rewrite using open_pipe_rw * image.c (openImgdisplay): rewrite using open_pipe_rw * local.c (localcgi_popen_rw): deleted (localcgi_post): rewrite using open_pipe_rw * proto.h (open_pipe_rw): added * search.c (migemor): initialized to NULL (migemow): initialized to NULL (migemo_pid): initialized to 0 (open_migemo): rewrite using open_pipe_rw From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03675] x-faceFumitoshi UKAI2003-01-221-1/+9
| | | | | | | | * file.c (xface2xpm): use getImage() (readHeader): check same file (loadImageBuffer): rewrite (lessopen_stream): shell_quote() From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03674] -dump problemFumitoshi UKAI2003-01-221-1/+11
| | | | | | | | | | * 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 03671] Re: config.param is clear when configure -helpFumitoshi UKAI2003-01-221-1/+6
| | | | | * configure: test -f config.param From: Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp>
* [w3m-dev 03665] imlib2 support (on X11)Fumitoshi UKAI2003-01-211-1/+12
| | | | | | | | | | | * configure: X11 inline image with Imlib2 fix typo in fb/imlib2 * w3mimg/x11/x11_w3mimg.c: USE_IMLIB2 (x11_load_image): USE_IMLIB2 (x11_show_image): USE_IMLIB2 (x11_free_image): USE_IMLIB2 (x11_get_image_size): USE_IMLIB2 From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03664] config.param is clear when configure -helpFumitoshi UKAI2003-01-211-1/+6
| | | | | * configure: config.param created after arg parsing From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* * map.c (follow_map_menu): if USE_IMAGE or MENU_MAPFumitoshi UKAI2003-01-201-1/+6
| | | | | * proto.h (follow_map_menu): ditto From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03660] Re: fputs -> StrfputsFumitoshi UKAI2003-01-201-1/+17
| | | | | | | | | | | | | | | | * 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 03659] Can't download from SSL.Fumitoshi UKAI2003-01-201-1/+6
| | | | | * istream.c (ISfileno): case IST_SSL From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03658] Re: Other user can see local cookie.Fumitoshi UKAI2003-01-201-1/+8
| | | | | | | * fm.h (rc_dir): init(NULL) * rc.c (config_file): deleted (init_rc): use rc_dir From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03657] fputs -> StrfputsFumitoshi UKAI2003-01-201-1/+6
| | | | | * form.c (form_fputs_decode): use Strfputs() From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03655] Re: file.c:image_source when undef USE_IMAGEFumitoshi UKAI2003-01-191-1/+6
| | | | | * map.c (follow_map_menu): fix warnings From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03654] file.c:image_source when undef USE_IMAGEFumitoshi UKAI2003-01-191-1/+8
| | | | | | | * file.c (readHeader): image_source ifdef USE_IMAGE (loadGeneralFile): ditto (uncompress_stream): ditto From: WATANABE Katsuyuki <knabe@sannet.ne.jp>
* [w3m-dev 03653] SourceForge.net: 576032 w3m https crashes with OpenSSL-0.9.7Fumitoshi UKAI2003-01-181-1/+6
| | | | | * istream.c (ssl_check_cert_ident): use sk_GENERAL_NAME_free() From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03652] Re: Debian bug #176981Fumitoshi UKAI2003-01-171-1/+7
| | | | | | * file.c (checkHeader): always remove_space (loadGeneralFile): no need remove_space From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03651] Debian bug #176981Fumitoshi UKAI2003-01-171-1/+9
| | | | | | | | * file.c (checkRedirection): added (loadGeneralFile): check redirection t_buf only is created when it is NULL remove_space From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03647] expandName() and expandPath()Fumitoshi UKAI2003-01-171-1/+26
| | | | | | | | | | | | | | | | | | | | | | | | | * 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 03646] setup child process, local CGIFumitoshi UKAI2003-01-171-1/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * etc.c (reset_signals): static don't ignore SIGUSR1 (close_all_fds_except): static DEV_NULL_PATH (setup_child): added (myExec): rewrite (mySystem): rewrite * file.c (readHeader): check image_source (loadGeneralFile): check image_source (doExternal): use setup_child (_doFileCopy): use setup_child (doFileSave): use setup_child (uncompress_stream): check image_source use setup_child * image.c (getCharSize): no need stderr redirect (openImgdisplay): use setup_child (loadImage): use setup_child (getImageSize): no need stderr redirect * local.c (writeLocalCookie): check Local_cookie_file (localcgi_popen_rw): added (localcgi_popen_r): deleted (localcgi_post): rewrite (localcgi_get): deleted * proto.h (localcgi_get): defined by localcgi_post (reset_signals): deleted (close_all_fds_except): deleted (close_all_fds): deleted (setup_child): added * search.c (open_migemo): use setup_child, myExec * w3mimgdisplay.c (main): use DEV_NULL_PATH From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03644] Re: Other user can see local cookie.Fumitoshi UKAI2003-01-151-1/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-1/+6
| | | | | | * ftp.c (loadFTPDir): ditto * fix indent From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03642] Re: cleanup (don't close connection of news server)Fumitoshi UKAI2003-01-151-1/+6
| | | | | * local.c (localcgi_post): localcgi_popen_r first From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03641] Re: cleanup (don't close connection of news server)Fumitoshi UKAI2003-01-151-1/+7
| | | | | | * ftp.c (ftp_command): fix fwrite arg * news.c (news_command): fix fwrite arg From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03640] Re: cleanup (don't close connection of news server)Fumitoshi UKAI2003-01-151-1/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* [w3m-dev 03639] Re: smb.cgiFumitoshi UKAI2003-01-151-1/+8
| | | | | | * Bonus/2ch.cgi: change password handling * Bonus/README: update * Bonus/README.eng: ditto
* [w3m-dev 03636] segfault in main.cFumitoshi UKAI2003-01-111-1/+6
| | | | | * main.c (main): check newbuf->currentURL.file From: qhwt@myrealbox.com
* Bonus/README.eng: sync with Bonus/READMEFumitoshi UKAI2003-01-111-1/+5
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03635] 2ch.cgiFumitoshi UKAI2003-01-111-1/+7
| | | | | | * Bonus/2ch.cgi: added * Bonus/README: update From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* Bonus/README.eng: sync with Bonus/READMEFumitoshi UKAI2003-01-111-1/+5
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03634] smb.cgiFumitoshi UKAI2003-01-111-1/+7
| | | | | | * Bonus/smb.cgi: added * Bonus/README: update From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* * ftp.c (ftp_pasv): ftp_command responseFumitoshi UKAI2003-01-111-1/+6
| | | | | (readFTPDir): masked declaration of realpathname From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03633] Re: cleanup (don't close connection of news server)Fumitoshi UKAI2003-01-111-1/+20
| | | | | | | | | | | | | | | | | | | * file.c (FTPhalfclose): deleted (loadGeneralFile): closeFTP when doFileSave is done (_doFileCopy): return int (doFileMove): return int (doFileSave): return int * ftp.c: rewrite * main.c (w3m_exit): disconnectFTP * proto.h (_doFileCopy): return int (doFileMove): return int (doFileSave): return int (openFTP): deleted (openFTPStream): return InputStream (closeFTP): no arg (Ftpfclose): disconnectFTP * url.c (openFTPstream): deleted From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* fix compiler warningsFumitoshi UKAI2003-01-101-1/+6
| | | | | * html.h (UFclose): value computed but not used From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03632] cleanup (don't close connection of news server)Fumitoshi UKAI2003-01-101-1/+15
| | | | | | | | | | | | | | * file.c (loadSomething): remove UFclose nntp:,news: (loadFile): UFclose (loadGeneralFile): always UFclose * html.h (UFclose): only reset when ISclose ==0 * istream.c (ISclose): return int (ISfileno): flag IST_UNCLOSE * istream.h (ISclose): return int (IST_UNCLOSE): added * news.c (news_close): reset IST_UNCLOSE (news_open): set IST_UNCLOSE From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03631] display current form itemFumitoshi UKAI2003-01-101-1/+13
| | | | | | | | | | | | * form.c (form2str): rewrite * istream.c (ssl_get_certificate): fix typo * map.c (follow_map_panel): valign=top (append_map_info): valign=top (append_link_info): valign=top (append_frame_info): <pre_int> html_quote ssl_certificate (page_info_panel): rewrite, html_quote From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* * doc/README.pre_form: updateFumitoshi UKAI2003-01-101-1/+6
| | | | | * doc-jp/README.pre_form: ditto From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03630] improved pre_formFumitoshi UKAI2003-01-101-1/+10
| | | | | | | | | * form.c (pre_form): add re_url, name (add_pre_form): add name rewrite (loadPreForm): add "form" (preFormUpdateBuffer): handle re_url From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03629] delete tmp fileFumitoshi UKAI2003-01-101-1/+24
| | | | | | | | | | | | | | | | | | | | | | | * etc.c (tempfname): always file to delete * file.c (xface2xpm): no need fileToDelete (readHeader): ditto (loadGeneralFile): ditto (loadHTMLBuffer): ditto (loadHTMLString): ditto (loadGopherDir): ditto (loadImageBuffer): ditto (doExternal): rewrite (doFileSave): no need fileToDelete (uncompress_stream): ditto * fm.h (CurrentPid): added * image.c (getImage): cache->touch to delete * local.c (setLocalCookie): use CurrentPid (localcgi_post): fileToDelete * main.c (main): CurrentPid (pipeBuf): no need fileToDelete (query_from_followform): CurrentPid (vmSrc): no need fileToDelete From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03628] Re: Error occured while resetFumitoshi UKAI2003-01-101-1/+7
| | | | | | * file.c (doExternal): bufp = NULL, return 1 (uncompress_stream): tempfname fileToDelete From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03626] Re: relative URLFumitoshi UKAI2003-01-101-1/+6
| | | | | * url.c (parseURL2): copy if scheme is local or local-cgi From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03625] keymap key SEARCH stringFumitoshi UKAI2003-01-101-1/+8
| | | | | | | * main.c (srch): accept command argument (reMark): accept command argument * Bonus/google.cgi: added From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03622] Re: Error occured while resetFumitoshi UKAI2003-01-101-1/+11
| | | | | | | | | | * file.c (uncompress_stream): child process initialized * terms.c (close_tty): close unless stdin,out,err (reset_tty): flush_tty, close_tty (write1): flush_tty (refresh): flush_tty (flush_tty): check ttyf From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03620] -m option and headerFumitoshi UKAI2003-01-101-1/+15
| | | | | | | | | | | | | | * buffer.c (reshapeBuffer): fix reading from stdin fix -m option * display.c (redrawNLine): rewrite (redrawLine): return l instead of l->next (redrawLineImage): ditto * file.c (loadFile): read header even if skip header (loadGeneralFile): read header even if skip header * fm.h (SkipHeader): added * main.c (main): check whether reading from stdin SkipHeader From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03619] Re: Error occured while resetFumitoshi UKAI2003-01-091-1/+17
| | | | | | | | | | | | | | | | * 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>